.weather-container {
    max-width: 43vh;
    border-radius: 8px;
    background: #f1f1f1;
    margin-top: 8%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.weather-container * {
    background: #ffffff;
}

.weather-header {
    display: flex;
    justify-content: space-between;
        align-items: center;
    background: #043567;
    padding: 10px;
}

.weather-header * {
    background: #043567;
    color: #ffffff;
}

.weather-location {
    padding: 10px;
    display: flex;
    align-items: start;
}

.local-weather-uptime {
    font-size: 0.7rem;
    color: grey;
    margin-left: 50%;
}

.switch-city-btn {
    background: #ffffff;
    scale: 0.7;
    padding-top: 2px;
    color: #007aff;
    cursor: pointer;
    border: none;
}

.weather-location button:hover {
    color: #005bb5;
}

.weather-main {
    display: flex;
    flex-direction: row;
    align-items: center;
}

hr {
    display: flex;
    justify-self: center;
    width: 90%;
}

.weather-main-other {
    margin-left: 15%;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.temperature {
    font-size: 3rem;
    margin-left: 1rem;
    color: #043567;
}

.temperature-unit {
    font-size: 1.5rem;
    margin-left: 0.5rem;
    margin-bottom: 2rem;
    color: #043567;
}

.forecast {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.forecast-day {
    text-align: center;
}

.forecast-button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #007aff;
    color: white;
    border-radius: 5px;
    margin: 10px 0;
    cursor: pointer;
}

.indices {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.index-item {
    width: 48%;
    padding: 5px;
    background-color: #fff;
    margin: 5px 0;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 20vh;
}

.error-svg {
    vertical-align: middle;
    margin-right: 5px;
}

.error-msg {
    font-size: 1.3rem;
    text-align: center;
    color: red;
}

.loading-page {
    height: 100%;
    padding: 5%;
}

.sider-loading {
    width: 50px;
    height: 50px;
    border: 2px solid #000;
    border-top-color: transparent;
    border-radius: 100%;
    margin: 0 auto;
    animation: circle infinite 0.75s linear;
}

/*转转转动画*/
@keyframes circle {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}